package com.bjpowernode.mapper;

import com.bjpowernode.model.TActivity;
import com.bjpowernode.query.ActivityQuery;

import java.util.List;

public interface TActivityMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(TActivity record);

    int insertSelective(TActivity record);

    TActivity selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TActivity record);

    int updateByPrimaryKey(TActivity record);

    List<TActivity> selectActivityPage(ActivityQuery activityQuery);

    TActivity selectActivityDetailById(Integer id);

    int deleteByIds(List<String> idList);

    List<TActivity> selectEffectiveActivity();

    int effectiveActivityCount();

    Integer activityCount();
}